Asynchronous transfer mode switch

ABSTRACT

The invention provides an ATM switch which realizes hierarchical shaping for each virtual channel and each virtual path with a simple configuration. Cells are sent from cell buffers of an ATM core switch by FIFO operation to output side connection information application sections of output side circuit interfaces. In each of the output side circuit interfaces, the output side connection information application section acquires connection information such as a service class based on an intra-switch connection identification number applied to each cell and applies the connection information to the cell. An output cell buffer queues cells for each virtual channel. A VC cell rate control section reads out cells from the output cell buffer in accordance with the connection information and performs traffic priority control and rate control of the cells to be outputted. Cells of each virtual channel are outputted at a rate equal to or higher than a minimum cell rate but equal to or lower than a peak cell rate in accordance with a VP cell rate control signal representative of the cell storage amount in a VP cell rate control section in the following stage. The VP cell rate control section queues cells into a buffer for each virtual path and performs traffic priority control and rate control of the cells.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to an ATM (Asynchronous Transfer Mode) switch, and more particularly to an ATM switch which performs cell rate shaping of changing the output rate dynamically for each virtual channel (VC) and for each virtual path (VP) in response to a stored amounts of cells.

[0003] 2. Description of the Related Art

[0004] Conventionally, an ATM switch has a cell rate shaping function on the output cell buffer side and output cells with the peak cell rate controlled for each virtual channel or virtual path.

[0005] It is sometimes desired to achieve minimum cell rate assurance of each virtual channel (VC) of a virtual path (VP) and peak cell rate shaping of the virtual path and each virtual channel of the virtual path on condition of Σ(VCMCR)≦VPPCR≦Σ(VCPCR) where Σ(VCPCR) is the peach cell rate total value of the virtual channels in the virtual path, Σ(VCMCR) is the minimum cell rate total value of the virtual channels in the virtual path, and VPPCR is the peak cell rage of the virtual path. However, with a conventional shaper, if cell rate shaping is performed for each virtual path, then it is impossible to realize minimum cell rate assurance and peak cell rate shaping of each virtual channel in a virtual path.

[0006] Also it seems a possible method to use two conventional shapers connected in two stages such that the peak cell rate is controlled for each virtual channel in the preceding stage whereas the peak cell rate is controlled for each virtual path in the succeeding stage. However, in order to realize the minimum cell rate assurance for each virtual channel in both of the two stages, complicated feedback control to the input cell buffer side is required, and even if the minimum cell rate assurance is realized, a high cost is required disadvantageously.

SUMMARY OF THE INVENTION

[0007] It is an object of the present invention to provide an ATM switch which realizes hierarchical shaping for each virtual channel and each virtual path with a simple configuration.

[0008] In order to attain the object described above, according to the present invention, the output rate for each virtual channel is changed dynamically within a range from a minimum cell rate to a peak cell rate in accordance with a stored amount of cells by rate shaping for each virtual path.

[0009] More particularly, according to the present invention, there is provided an ATM switch, comprising one or more input side circuit interfaces, one or more output side circuit interfaces, and an ATM core switch for outputting cells inputted thereto from the input side circuit interface or interfaces to the output side circuit interface or interfaces, each of the output side circuit interfaces feeding back a cell number accumulated for each virtual channel to a corresponding one of the input side circuit interfaces, each of the input side circuit interfaces shaping the rate of cells based on the feedback from a corresponding one of the output side circuit interfaces so that a peak cell rate total value of virtual channels which belong to a virtual path may not exceed a peak cell rate of the virtual path, each of the output side circuit interfaces controlling, based on the cell number accumulated for each virtual channel, so that the peak cell rate of the virtual path to which the virtual channels belong may not exceed the peak cell rate total value of the virtual channels which belong to the virtual path.

[0010] Each of the input side circuit interfaces may include a physical layer processing section which terminates a cell, and an input virtual channel cell rate control section for receiving the cell terminated by the physical layer processing section and controlling the rate of cell for each virtual channel based on the feedback.

[0011] Each of the output side circuit interfaces may include an output virtual channel cell rate control section for storing a cell number accumulated for each virtual channel, an output virtual path cell rate control section for controlling the cell rate for each virtual channel based on the cell number accumulated in the output virtual channel cell rate control section, and a physical layer section for outputting a cell from the output virtual channel cell rate control section to a circuit, the output virtual channel cell rate control section feeding back the cell number to the input virtual channel cell rate control section.

[0012] The ATM core switch may include multiplexing means for multiplexing cells from all of the output side circuit interface sections, filter means for comparing output port identification numbers applied to the cells with output port numbers of the filter means themselves and passing there through only those cells which exhibit coincidence in the comparison, and a cell buffer of the first-in first-out type provided for each output port for temporarily storing those cells which have passed through the corresponding filter means, converting the rate of the cells and outputting the resulting cells to a corresponding one of the output side circuit interfaces.

[0013] Preferably, the input cell rate control section stores an input circuit number, a service class, a minimum cell rate, an output switch port number and an intra-switch connection identification number of contents of a contract concluded in advance in a corresponding relationship to a virtual path identifier/virtual channel identifier of an input cell.

[0014] Preferably, the output virtual channel cell rate control section stores a service class, a virtual channel minimum cell rate, a virtual channel peak cell rate, a virtual path peak cell rate, an output circuit number and an output virtual path identifier/virtual channel identifier of contents of a contract concluded in advance in a corresponding relationship to an intra-switch connection identification number of each cell.

[0015] With the ATM switch, hierarchical shaping for each virtual channel and for each virtual path can be achieved with a simple configuration and control.

[0016] The above and other objects, features and advantages of the present invention will become apparent from the following description and the appended claims, taken in conjunction with the accompanying drawings in which like parts or elements are denoted by like reference symbols.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017]FIG. 1 is a block diagram of an ATM switch to which the present invention is applied;

[0018]FIG. 2 is a block diagram of a VC cell rate control section of an input side circuit interface shown in FIG. 1;

[0019]FIG. 3 is a diagrammatic view illustrating an input side connection information table illustrated in FIG. 2;

[0020]FIG. 4 is a block diagram of an ATM core switch shown in FIG. 1;

[0021]FIG. 5 is a block diagram of a VC cell rate control section and a VP cell rate control section of an output side circuit interface shown in FIG. 1; and

[0022]FIG. 6 is a diagrammatic view illustrating an output side connection information table illustrated in FIG. 5.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] Referring first to FIG. 1, there is shown an ATM switch to which the present invention is applied. The ATM switch shown includes a plurality of input side circuit interfaces 1 ₀ to 1 _(N) an ATM core switch 2, and a plurality of output side circuit interfaces 3 ₀ to 3 _(N).

[0024] Each of the input side circuit interfaces 1 ₀ to 1 _(N) includes a physical layer processing section 11 and an input VC cell rate control section 12. The physical layer processing section 11 terminates cells and sends the cells to the input VC cell rate control section 12. The input VC cell rate control section 12 controls the rate of cells for each virtual channel based on feedback.

[0025] Each of the output side circuit interfaces 3 ₀ to 3 _(N) includes an output VC cell rate control section 31 for storing a number of cells stored for each virtual channel, an output VP cell rate control section 32 for controlling the cell rate for each virtual path based on the number of cells stored in the output VC cell rate control section 31, and a physical layer section 33 for outputting cells from the output VP cell rate control section 32 to a circuit. The output VC cell rate control section 31 feeds back a cell number to the input VC cell rate control section 12.

[0026]FIG. 2 shows a configuration of the input VC cell rate control section 12 of the input side circuit interfaces 1 ₀ to 1 _(N). Referring to FIG. 2, the input VC cell rate control section 12 includes an input side connection information application section 102, an input side connection information table 103, an input cell buffer 104 and a cell rate control section 105.

[0027] The input side connection information application section 102 acquires, based on an input circuit number and the VPI (Virtual Path Identifier)/VCI (Virtual Channel Identifier) of the header of a cell, connection information such as a service class, a minimum cell rate, an output switch port number and an intra-switch connection identification number of the cell from the input side connection information table 103.

[0028] The input cell buffer 104 queues cells for each virtual channel.

[0029] The cell rate control section 105 performs traffic priority control and rate control of cells of reading out cells from the input cell buffer 104 in accordance with connection information applied to the cells and outputting the cells to the ATM core switch 2.

[0030] Cells of each virtual channel are outputted at a rate equal to or hither than the minimum cell rate in accordance with a VC cell rate control signal representative of the cell storage amount in each of the output side circuit interfaces 3 ₀ to 3 _(N).

[0031]FIG. 3 illustrates an example of the input side connection information table 103. The input side connection information table 103 illustrated has stored in advance therein an input circuit number, a service class, a minimum cell rate, an output switch port number and an intra-switch connection identification number of contents of a contract concluded in advance.

[0032]FIG. 4 shows a configuration of the ATM core switch 2. Referring to FIG. 4, the ATM core switch 2 shown includes a cell multiplexing section 21, a plurality of cell filters 22 ₀, to 22 _(N), and a plurality of cell buffers 23 ₀ to 23 _(N) connected to the output sides of the cell filters 22 ₀ to 22 _(N), respectively.

[0033] The cell multiplexing section 21 multiplexes all cells from all of the input side circuit interfaces 1 ₀ to 1 _(N) and outputs the multiplexed cells to a high speed bus. The cell filters 22 ₀ to 22 _(N) compare output port identification numbers applied to cells with output port numbers of the cell filters themselves and pass therethrough only those cells which indicate coincidence in the comparison. The cell buffers 23 ₀ to 23 _(N) temporarily store those cells, which have passed through the corresponding cell filters 22 ₀ to 22 _(N), for the individual output ports, convert the rates of the cells and output the cells to the output side circuit interfaces 3 ₀ to 3 _(N) through FIFO operation, respectively.

[0034]FIG. 5 shows a detailed configuration of the output VC cell rate control section 31 together with the output VP cell rate control section 32 of the output side circuit interfaces 3 ₀ to 3 _(N) described hereinabove with reference to FIG. 1. It is to be noted that, in FIG. 5, the output VC cell rate control section 31 and the output VP cell rate control section 32 are represented as output VC cell rate control section 301 and VP cell rate control section 302, respectively. Referring to FIG. 5, the output VC cell rate control section 301 includes an output side connection information application section 303, an output side connection information table 304, an output cell buffer 305, and a VC cell rate control section 306.

[0035] The output side connection information application section 303 acquires connection information of a cell such as a service class, a VC minimum cell rate, a VC peak cell rate, a VP peak cell rate, an output circuit number and an output VPI/VCI based on an intra-switch connection identification number applied to the cell from the output side connection information table 304, and applies the acquired connection information to the cell.

[0036] The output cell buffer 305 queues cells for each virtual channel.

[0037] The VC cell rate control section 306 reads out cells from the output cell buffer 305 in accordance with connection information applied to the cells and performs traffic priority control and rate control of the cells to be outputted. Cells of each virtual channel are outputted at a rate equal to or higher than the minimum cell rate but equal to or lower than the peak cell rate in accordance with a VP cell rate control signal representative of the cell storage amount in the VP cell rate control section 302 in the next stage.

[0038] The VP cell rate control section 302 queues cells into a buffer for each virtual path, reads out the cells from the buffer in accordance with connection information applied to the cells, and performs traffic priority control and rate control of the cells to be outputted to a circuit. Cells of each virtual path are outputted at a rate equal to or lower than the peak cell rate.

[0039]FIG. 6 illustrates an example of the output side connection information table 304. The output side connection information table 304 illustrated has stored therein, in a corresponding relationship to an intra-switch connection identification number of an input cell inputted from the ATM core switch 2, a service class, a VC minimum cell rate, a VC peak cell rate (VCPCR), a VP peak cell rate (VPPCRVCP), an output circuit number and an output VPI/VCI of contents of a contract concluded in advance.

[0040] Now, cell rate shaping operation of the ATM switch of the present embodiment is described.

[0041] In each of the input side circuit interfaces 1 ₀ to 1 _(N), a cell from a circuit is terminated by the physical layer processing section 11 and inputted to the input VC cell rate control section 12.

[0042] In the input VC cell rate control section 12, the input side connection information application section 102 refers to the input side connection information table 103 to apply, based on the input circuit number and the VPI/VCI of the header of the cell, connection information such as a service class, a minimum cell rate, a switch output port identification number and an intra-switch connection identification number to the cell.

[0043] The input circuit number is required in order to accommodate a plurality of circuits, in the present case, N+1 circuits, using the plurality of input side circuit interfaces 1 ₀ to 1 _(N).

[0044] The input cell buffer 104 queues cells for each virtual channel.

[0045] The cell rate control section 105 reads out cells from the input cell buffer 104 in accordance with the connection information applied to the cells and performs traffic priority control and rate control of the cells to be outputted to the ATM core switch 2. A VC cell rate control signal is fed back to the cell rate control section 105 from the output VC cell rate control section 31 of a corresponding one of the output side circuit interfaces 3 ₀ to 3 _(N). The cell rate control signal represents a cell storage amount in the corresponding one of the output side circuit interfaces 3 ₀ to 3 _(N).

[0046] Each of the input side circuit interfaces 1 ₀ to 1 _(N) performs minimum cell rate assurance of virtual channels and peak cell rate shaping of a virtual path and the virtual channels on condition of Σ(VCMCR)≦VPPCR≦Σ(VCPCR) in accordance with a cell rate control signal from a corresponding one of the output side circuit interfaces 3 ₀ to 3 _(N). In other words, cells of each virtual channel are outputted at a rate equal to or higher than the minimum cell rate in accordance with a VC cell rate control signal.

[0047] The ATM core switch 2 multiplexes all cells from all of the input side circuit interfaces 1 ₀ to 1 _(N) and outputs the multiplexed cells to the high speed bus. In this instance, each of the cell filters 22 ₀ to 22 _(N) in the ATM core switch 2 compares the switch output port identification number applied to each cell with the output port number of the cell filter itself and passes therethrough only those cells which exhibit coincidence in the comparison.

[0048] The cell buffers 23 ₀ to 23 _(N) temporarily store cells having passed through the cell filters 22 ₀ to 22 _(N) for the individual output ports, perform rate conversion of the cells and output the cells to the output side circuit interfaces 3 ₀ to 3 _(N) through FIFO operation, respectively.

[0049] The output side connection information application section 303 in each of the output side circuit interfaces 3 ₀ to 3 _(N) refers to the output side connection information table 304 to acquire connection information of each cell such as a service class, a VC minimum cell rate, a VC peak cell rate, a VP peak cell rate, an output circuit number and an output VPI/VCI based on the intra-switch connection identification number applied to the cell and applies the connection information to the cell.

[0050] The output cell buffer 305 queues cells for each virtual channel.

[0051] The VC cell rate control section 306 reads out cells from the output cell buffer 305 in accordance with connection information applied to the cells and performs traffic priority control and rate control of the cells to be outputted. Cells of each virtual channel are outputted at a rate equal to or higher than the minimum cell rate but equal to or lower than the peak cell rate in accordance with a VP cell rate control signal representative of the cell rate storage amount in the VP cell rate control section 302 in the following stage.

[0052] The VP cell rate control section 302 queues cells into a buffer for each virtual path, reads out the cells from the buffer in accordance with the connection information applied to the cells, and performs traffic priority control and rate control of cells to be outputted to a circuit. Cells of each virtual path are outputted at a rate equal to or lower than the peak cell rate.

[0053] While a preferred embodiment of the present invention has been described using specific terms, such description is for illustrative purpose only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the following claims. 

What is claimed is:
 1. An ATM switch, comprising: one or more input side circuit interfaces; one or more output side circuit interfaces; and an ATM core switch for outputting cells inputted thereto from said input side circuit interface or interfaces to said output side circuit interface or interfaces; each of said output side circuit interfaces feeding back a cell number accumulated for each virtual channel to a corresponding one of said input side circuit interfaces; each of said input side circuit interfaces shaping the rate of cells based on the feedback from a corresponding one of said output side circuit interfaces so that a peak cell rate total value of virtual channels which belong to a virtual path may not exceed a peak cell rate of the virtual path; each of-said output side circuit interfaces controlling, based on the cell number accumulated for each virtual channel, so that the peak cell rate of the virtual path to which the virtual channels belong may not exceed the peak cell rate total value of the virtual channels which belong to the virtual path.
 2. An ATM switch as claimed in claim 1, wherein each of said input side circuit interfaces includes a physical layer processing section which terminates a cell, and an input virtual channel cell rate control section for receiving the cell terminated by said physical layer processing section and controlling the rate of cell for each virtual channel based on the feedback.
 3. An ATM switch as claimed in claim 2, wherein each of said output side circuit interfaces includes an output virtual channel cell rate control section for storing a cell number accumulated for each virtual channel, an output virtual path cell rate control section for controlling the cell rate for each virtual channel based on the cell number accumulated in said output virtual channel cell rate control section, and a physical layer section for outputting a cell from said output virtual channel cell rate control section to a circuit, said output virtual channel cell rate control section feeding back the cell number to said input virtual channel cell rate control section.
 4. An ATM switch as claimed in claim 1, wherein said ATM core switch includes multiplexing means for multiplexing cells from all of said output side circuit interface sections, filter means for comparing output port identification numbers applied to the cells with output port numbers of said filter means themselves and passing therethrough only those cells which exhibit coincidence in the comparison, and a cell buffer of the first-in first-out type provided for each output port for temporarily storing those cells which have passed through the corresponding filter means, converting the rate of the cells and outputting the resulting cells to a corresponding one of said output side circuit interfaces.
 5. An ATM switch as claimed in claim 2, wherein said input cell rate control section stores an input circuit number, a service class, a minimum cell rate, an output switch port number and an intra-switch connection identification number of contents of a contract concluded in advance in a corresponding relationship to a virtual path identifier/virtual channel identifier of an input cell.
 6. An ATM switch as claimed in claim 3, wherein said output virtual channel cell rate control section stores a service class, a virtual channel minimum cell rate, a virtual channel peak cell rate, a virtual path peak cell rate, an output circuit number and an output virtual path identifier/virtual channel identifier of contents of a contract concluded in advance in a corresponding relationship to an intra-switch connection identification number of each cell. 